
<template>
  <div class="containerWrap">
    <div >
      <el-table
        :data="tableData"
        stripe
        style="width: 100%">
        <el-table-column
          prop="id"
          label="商品名称">
        </el-table-column>
        <el-table-column
          prop="name"
          label="商户头像">
        </el-table-column>
        <el-table-column
          prop="address"
          label="CMS人员数">
        </el-table-column>
        <el-table-column
          prop="address"
          label="记者数">
        </el-table-column>
        <el-table-column
          prop="address"
          label="存储">
        </el-table-column>
        <el-table-column
          prop="address"
          label="过期时间">
        </el-table-column>
        <el-table-column
          prop="address"
          label="来源">
        </el-table-column>
        <el-table-column
          prop="address"
          label="状态">
        </el-table-column>
        <el-table-column
          prop="address"
          label="开通时间">
        </el-table-column>
        <el-table-column
          prop="address"
          label="操作">
          <template slot-scope="scope">
            <el-button @click="modify()"  size="small">修改</el-button>
            <el-button @click="freeze()" type="danger" size="small">冻结</el-button>
            <el-button @click="CMS()" type="info" size="small">CMS</el-button>
            <el-button @click="collect()" type="info" size="small">采集</el-button>
          </template>
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>


<script>
  export default {
    data () {
      return {
        tableData: [{'id': 1}],
        dialogFormVisible: false
      };
    },
    methods: {
      // 修改
      modify () {
        this.$router.push({'path': '/companyManager/modify'});
        alert('修改');
      },
      // 冻结
      freeze () {
        alert('冻结');
      },
      // 冻结
      CMS () {
        this.$router.push({'path': '/companyManager/CMS'});
        alert('CMS');
      },
      // 采集
      collect () {
        this.$router.push({'path': '/companyManager/journalist'});
        alert('采集');
      }
    },
    components: {},
    created: function () {
    }
  };
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
